package com.sayimo.maker.mall.search.dao.impl;

import java.util.List;
import java.util.Map;

import org.springframework.stereotype.Repository;

import com.sayimo.framework.database.mybatis.AbstractMybatisBaseDao;
import com.sayimo.framework.exception.DaoException;
import com.sayimo.maker.mall.search.dao.SearchDao;
import com.sayimo.maker.mall.search.vo.SearchField;

/**
 * @Copyright (c) 2016 广东省尚一互联网有限公司
 * @Project: maker-mall
 * @ClassName: SearchDaoImpl.java
 * @Description: 
 * @Author:	tanxin
 * @Date:2017年2月13日,上午10:23:48
 * @Version 1.0.0
 */
@Repository("searchDao")
public class SearchDaoImpl extends AbstractMybatisBaseDao<SearchField> implements SearchDao{

	/** 
	  * @package com.sayimo.maker.mall.search.dao
	  * @author chenpy
	  * @Title:  
	  * @Description: 
	  * @param 
	  * @throws 
	  * @return List<SearchField>
	  * @date 2016年8月6日
	  */ 
	public List<SearchField> queryCommonGoodsEngineField(Map<String, Object> paramMap) throws DaoException {
		return this.mybatisInterfaceBaseDao.query("com.sayimo.maker.mall.search.dao.SearchDao.queryCommonGoodsEngineField", paramMap);
	}
	
	/** 
	  * @package com.sayimo.maker.mall.search.dao
	  * @author chenpy
	  * @Title:  
	  * @Description: 
	  * @param 
	  * @throws 
	  * @return List<SearchField>
	  * @date 2016年8月6日
	  */ 
	public List<SearchField> queryActivityGoodsEngineField(Map<String, Object> paramMap) throws DaoException{
		return this.mybatisInterfaceBaseDao.query("com.sayimo.maker.mall.search.dao.SearchDao.queryActivityGoodsEngineField", paramMap);
	}
	
	/** 
	 * @package com.sayimo.maker.mall.search.dao
	 * @author chenpy
	 * @Title:  
	 * @Description: 
	 * @param 
	 * @throws 
	 * @return List<SearchField>
	 * @date 2016年8月6日
	 */ 
	public List<SearchField> queryMoldbabyGoodsEngineField(Map<String, Object> paramMap) throws DaoException{
		return this.mybatisInterfaceBaseDao.query("com.sayimo.maker.mall.search.dao.SearchDao.queryMoldbabyGoodsEngineField", paramMap);
	}
	
	/** 
	  * @package com.sayimo.maker.mall.search.dao
	  * @author chenpy
	  * @Title:  
	  * @Description: 
	  * @param 
	  * @throws 
	  * @return List
	  * @date 2016年8月8日
	  */ 
	public List queryAllActivity(Map<String, Object> paramMap) throws DaoException{
		return this.mybatisInterfaceBaseDao.queryObject("com.sayimo.maker.mall.search.dao.SearchDao.queryAllActivity", paramMap);
	}
	
	/** 
	  * @package com.sayimo.maker.mall.search.dao
	  * @author chenpy
	  * @Title:  
	  * @Description: 获取所有爆款
	  * @param 
	  * @throws 
	  * @return List
	  * @date 2016年8月8日
	  */ 
	public List queryAllMoldBaby(Map<String, Object> paramMap) throws DaoException{
		return this.mybatisInterfaceBaseDao.queryObject("com.sayimo.maker.mall.search.dao.SearchDao.queryAllMoldBaby", paramMap);
	}
}
